$OpenBSD: patch-configure_ac,v 1.3 2016/09/01 21:56:59 jasper Exp $
--- configure.ac.orig	Mon May 23 09:32:39 2016
+++ configure.ac	Tue Aug 30 14:16:12 2016
@@ -561,7 +561,7 @@ AC_CHECK_FUNCS(strdup strndup strerror)
 AC_CHECK_FUNCS(finite isnand fp_class class fpclass)
 AC_CHECK_FUNCS(strftime localtime gettimeofday ftime)
 AC_CHECK_FUNCS(stat _stat signal)
-AC_CHECK_FUNCS(rand rand_r srand time)
+AC_CHECK_FUNCS(arc4random rand rand_r srand time)
 AC_CHECK_FUNCS(isascii mmap munmap putenv)
 
 AH_VERBATIM([HAVE_MUNMAP_AFTER],[/* mmap() is no good without munmap() */
